package org.example.com.Bean;

import com.baomidou.mybatisplus.annotation.*;
import jdk.jfr.DataAmount;
import lombok.Data;

@Data
@TableName(value = "book")
public class Book {
    @TableId( value= "id",type = IdType.AUTO)
    private String id;
    private String categoryId;
    private String name;
    private String author;
    private String publisher;
    private String price;
    private String imageName;
    private String description;
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    @TableField(fill = FieldFill.UPDATE)
    private String updateTime;
    @TableLogic(delval = "0", value = "1")
    private String status;
    private String isDeleted;
    private String imageState;
}
